import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

import FawkesLib from 'fawkes-lib' //组件库
import 'fawkes-lib/lib/theme-chalk/index.css' //组件库css

import weather from 'vue-mini-weather'
import Highcharts from 'highcharts/highstock';
import Highcharts3D from 'highcharts/highcharts-3d';
import dayjs from 'dayjs'
Highcharts3D(Highcharts);

Vue.use(ElementUI);
Vue.use(FawkesLib, {
		preciseSearch: true,
		hideSwitch: true
	})
Vue.prototype.$dayjs = dayjs
// import echarts from 'echarts';
// import 'echarts-gl';
// Vue.use(echarts);
//main.js 中引入定义好的实现方法并注册
import htmlToPdf from '@/utils/htmlToPdf';
// 使用 Vue.use() 方法就会调用工具方法中的install方法
Vue.use(htmlToPdf);

Vue.use(weather); // 天气组件的全局引入

Vue.config.productionTip = false

/* 富文本编辑器 */
import VueQuillEditor from 'vue-quill-editor'
// 引入样式
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
Vue.use(VueQuillEditor, /* { 默认全局 } */)

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
